package model.entity;

import java.sql.Time;
import java.time.LocalTime;

public class Shop {
   private  long id;
   private  String shop_address;
   private  String shop_name;
   private Time opening_time;
   private Time closing_time;
   private int status;


    public Shop() {
    }

    public Shop(long id, String shop_address, String shop_name, Time opening_time, Time closing_time, int status) {
        this.id = id;
        this.shop_address = shop_address;
        this.shop_name = shop_name;
        this.opening_time = opening_time;
        this.closing_time = closing_time;
        this.status = status;
    }

    /**
     * 获取
     * @return id
     */
    public long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return shop_address
     */
    public String getShop_address() {
        return shop_address;
    }

    /**
     * 设置
     * @param shop_address
     */
    public void setShop_address(String shop_address) {
        this.shop_address = shop_address;
    }

    /**
     * 获取
     * @return shop_name
     */
    public String getShop_name() {
        return shop_name;
    }

    /**
     * 设置
     * @param shop_name
     */
    public void setShop_name(String shop_name) {
        this.shop_name = shop_name;
    }

    /**
     * 获取
     * @return opening_time
     */
    public Time getOpening_time() {
        return opening_time;
    }

    /**
     * 设置
     * @param opening_time
     */
    public void setOpening_time(Time opening_time) {
        this.opening_time = opening_time;
    }

    /**
     * 获取
     * @return closing_time
     */
    public Time getClosing_time() {
        return closing_time;
    }

    /**
     * 设置
     * @param closing_time
     */
    public void setClosing_time(Time closing_time) {
        this.closing_time = closing_time;
    }

    /**
     * 获取
     * @return status
     */
    public int getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(int status) {
        this.status = status;
    }

    public String toString() {
        return "Shop{id = " + id + ", shop_address = " + shop_address + ", shop_name = " + shop_name + ", opening_time = " + opening_time + ", closing_time = " + closing_time + ", status = " + status + "}";
    }
}
